package com.fdb.efp.nls.service.dao;

import com.fdb.efp.nls.service.domain.RscWarnGnlHistRuleInfo;
import com.fdb.efp.nls.service.vo.RscWarnGnlHistRuleInfoVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RscWarnGnlHistRuleInfoDao {

    public List<RscWarnGnlHistRuleInfo> queryByRuleCode(RscWarnGnlHistRuleInfoVO rscWarnGnlHistRuleInfoVO);

    public int updateByRuleCode(@Param("rscWarnGnlHistRuleInfo") List<RscWarnGnlHistRuleInfo> rscWarnGnlHistRuleInfo);

    public List<RscWarnGnlHistRuleInfo> queryRiskRuleHistAndCurrValByPage(RscWarnGnlHistRuleInfoVO rscWarnGnlHistRuleInfoVO);

    public int updateRuleValue();
}
